﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ARD.EventRouting;
using SharpObjects.SearchEngine.Common.Search;
namespace SharpObjects.SearchEngine.Common.ApplicationEvents
{
    [Serializable]
    public class GetCharacterizerApplicationEvent : IApplicationEvent
    {
        public GetCharacterizerApplicationEvent()
        {
            this.IndexDirectoryId = IndexDirectoryDescriptor.DefaultIndexDirectoryId;
            this.Characterizer = new Dictionary<string, double>();
            this.MaxTermCount = -1;
            this.DesirableTermCount = -1;
            this.ThresholdFactor = -1.0;
        }

        public string IndexDirectoryId { get; set; }

        // in
        public string Uri { get; set; }
        public string Field { get; set; }
        public int MaxTermCount { get; set; }
        public int DesirableTermCount { get; set; }
        public double ThresholdFactor { get; set; }


        // out
        public Dictionary<string, double> Characterizer { get; set; }
    }
}
